Class yassl.lambdanode
All Packages This Package Previous Next
Class yassl.lambdanode
java.lang.Object
|
+----yassl.pnode
|
+----yassl.lambdanode
-
public class
lambdanode
-
extends pnode
This node contains the body of a lambda proc.
-
lambdanode(String, Vector, Vector, Vector)
-
-
apply(pnode[])
-
apply extends the environment, then evals the
body until a return node is hit, or the procedure falls off the end.
-
eval(Env)
-
Evaluation of a lambda node saves the environment as part of
the object, and returns a copy of the object.
-
help(Env)
-
Return a string to be used in help messages about a
particular node.
lambdanode
public lambdanode(String rettype,
Vector tlist,
Vector alist,
Vector b)
eval
public pnode eval(Env e)
-
Evaluation of a lambda node saves the environment as part of
the object, and returns a copy of the object.
-
Overrides:
-
eval in class pnode
apply
public pnode apply(pnode actuals[]) throws yasslError
-
apply extends the environment, then evals the
body until a return node is hit, or the procedure falls off the end.
help
public String help(Env e)
-
Return a string to be used in help messages about a
particular node.
-
Overrides:
-
help in class pnode
All Packages This Package Previous Next